home *** CD-ROM | disk | FTP | other *** search
/ Chip 1995 May / CHIP 1995 majus / CHIP_9502.ISO / cdinst.cmd < prev    next >
Encoding:
Text File  |  1994-12-06  |  1.6 KB  |  71 lines

  1. ECHO OFF
  2.  
  3. REM This .CMD file creates the two installation diskettes required
  4. REM to install OS/2 from CD-ROM.
  5. REM
  6.  
  7. REM Display Installation Instructions
  8.  
  9. CLS
  10. ECHO Welcome to OS/2.
  11. ECHO ...
  12. ECHO To install this version of OS/2 from CD-ROM,
  13. ECHO you must first create two installation diskettes.
  14. ECHO Follow the directions on your screen to create
  15. ECHO these diskettes.
  16. ECHO ...
  17. ECHO To QUIT, press Ctrl+C.
  18. ECHO ...
  19. PAUSE
  20. CLS
  21.  
  22. REM Test for CDROM
  23.  
  24. IF EXIST \DISKIMGS\LOADDSKF.EXE GOTO START
  25.  
  26. ECHO This program must be started from your CD-ROM Drive.
  27. PAUSE
  28. CLS
  29.  
  30. GOTO EXIT
  31.  
  32. :START
  33.  
  34. REM OK, we are going to create the disks.
  35.  
  36. ECHO Label a blank diskette "OS/2 Diskette 1" and
  37. ECHO insert it into Drive A:
  38. PAUSE
  39. ECHO Now creating the
  40. ECHO OS/2 Diskette 1.
  41. \DISKIMGS\LOADDSKF %1\DISKIMGS\OS2\35\DISK1_CD.DSK A: /Y/Q/F
  42. IF ERRORLEVEL 1 GOTO BAD
  43. CLS
  44. ECHO Please remove the diskette from Drive A:
  45. PAUSE
  46.  
  47. CLS
  48. ECHO Label another blank diskette "Installation Diskette" and
  49. ECHO insert it into Drive A:
  50. PAUSE
  51. ECHO Now creating the
  52. ECHO Installation Diskette.
  53. \DISKIMGS\LOADDSKF %1\DISKIMGS\OS2\35\DISK0.DSK A: /Y/Q/F
  54. IF ERRORLEVEL 1 GOTO BAD
  55.  
  56. CLS
  57. ECHO To install OS/2:
  58.  
  59. ECHO 1) Leave the Installation Diskette in Drive A:
  60. ECHO 2) Press Ctrl, Alt, and Del to restart your computer.
  61. ECHO 3) After restarting your computer, follow the
  62. ECHO    instructions on your screen.
  63. GOTO EXIT
  64.  
  65. :BAD
  66. ECHO A problem occured while creating the installation
  67. ECHO diskettes.  Refer to the README.INS file located in
  68. ECHO the root directory on the CD-ROM for additional help.
  69. :EXIT
  70.  
  71.